package com.builder;

public class Main {
    public static void main(String[] args) {
        // 做一个建造者
        DeveloperComputerBuilder builder = new DeveloperComputerBuilder();
        // 利用指挥者（装配者）进行组装过程
        System.out.println(Director.build(builder));
        GamePlayerComputerBuilder builder1 = new GamePlayerComputerBuilder();
        System.out.println(Director.build(builder1));
    }
}
